package com.javasm.service.goodsService;


import com.javasm.common.page.PageResult;
import com.javasm.domin.criteria.goodsCriteria.GoodsCriteria;
import com.javasm.domin.entity.goodsEntity.GdGoods;
import com.javasm.domin.vo.goodsVo.GoodsVo;
import com.javasm.service.base.BaseService;

import java.util.List;

/**
* @author Administrator
* @description 针对表【gd_goods】的数据库操作Service
* @createDate 2021-11-18 21:42:58
*/
public interface GdGoodsService extends BaseService<GdGoods> {



    PageResult<GoodsVo> searchPage(GoodsCriteria goodsCriteria);


    /**
     * 批量删除
     */
    int batchDeleteByIds(List<Long> ids);


    int selectTypeId(Long id);


    int updateByIdStock(Long id,Long stock);


}
